home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global shadow_num, developing_MT, PNM, J, CHN, C_EXPR, C_KTKM, EXCF_S, CURR_S, PSND, MAXPSNDS, PLAYER, PC_ADR, PC_MESS, GameFileName, goOneFile
- puppetSprite(3, 1)
- set P to char 1 to length(the pathName) - 5 of the pathName
- clearGlobals()
- set goOneFile to 0
- set developing_MT to 1
- BP_Preferences()
- set shadow_num to 1
- set PNM to P
- set PLAYER to 0
- set the floatPrecision to 2
- set the centerStage to 1
- set fixStageSize to 1
- set the timeoutKeyDown to 0
- set the timeoutMouse to 0
- set the timeoutPlay to 0
- if the multiSound then
- set CHN to 2
- else
- set CHN to 1
- end if
- set PSND to "SIL_PAUS.AIF"
- set J to 0
- set J to birth(script "J - The Question Handler Object")
- EXC_Init()
- QN_A_Init()
- repeat with FN = 1 to 1000
- if getNthFileNameInFolder(FixPath(J, PNM & "SNDS:PAUS:"), FN) = EMPTY then
- exit repeat
- end if
- end repeat
- set MAXPSNDS to FN - 2
- set C_EXPR to 150
- set C_KTKM to 65
- set GameFileName to EMPTY
- set PC_ADR to EMPTY
- set PC_MESS to EMPTY
- end
-